;(function(window) {

  var svgSprite = '<svg>' +
    '' +
    '<symbol id="icon-shouji" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M682.667008 47.65184 341.984256 47.65184c-42.635264 0-77.44 34.884608-77.44 77.436928l0 774.513664c0 42.59328 34.804736 77.44 77.44 77.44l340.682752 0c42.597376 0 77.441024-34.84672 77.441024-77.44L760.108032 125.087744C760.108032 82.536448 725.264384 47.65184 682.667008 47.65184zM465.854464 109.584384l92.944384 0c8.556544 0 15.545344 6.946816 15.545344 15.504384 0 8.602624-6.987776 15.504384-15.545344 15.504384l-92.944384 0c-8.51968 0-15.422464-6.90176-15.422464-15.504384C450.432 116.5312 457.33376 109.584384 465.854464 109.584384zM512.285696 946.034688c-25.637888 0-46.470144-20.754432-46.470144-46.43328s20.832256-46.512128 46.470144-46.512128c25.757696 0 46.512128 20.83328 46.512128 46.512128S538.044416 946.034688 512.285696 946.034688zM729.220096 822.162432 295.552 822.162432 295.552 202.528768l433.668096 0L729.220096 822.162432z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-shouji1" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M760.672616 62.534242 263.326361 62.534242c-19.780509 0-35.815717 15.783475-35.815717 35.253922l0 828.422649c0 19.470447 16.035208 35.253922 35.815717 35.253922l497.346255 0c19.780509 0 35.815717-15.783475 35.815717-35.253922L796.488333 97.788164C796.488333 78.31874 780.453125 62.534242 760.672616 62.534242zM482.069317 111.140263l59.860343 0c11.019984 0 19.953448 8.933463 19.953448 19.953448 0 11.019984-8.933463 19.953448-19.953448 19.953448l-59.860343 0c-11.019984 0-19.953448-8.933463-19.953448-19.953448C462.115869 120.073726 471.049333 111.140263 482.069317 111.140263zM551.906895 918.487921l-79.81379 0L472.093105 838.674131l79.81379 0L551.906895 918.487921zM736.092801 779.502473c0 19.780509-16.035208 35.815717-35.815717 35.815717L323.722916 815.31819c-19.780509 0-35.815717-16.035208-35.815717-35.815717L287.907199 209.552643c0-19.780509 16.035208-35.815717 35.815717-35.815717l376.554168 0c19.780509 0 35.815717 16.035208 35.815717 35.815717L736.092801 779.502473z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-ren" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M880.864022 704.34575c-56.812937-25.396413-141.118018-90.817402-265.945001-113.297392 31.924083-34.359552 56.084343-88.097454 80.93738-151.754263 14.403035-36.893258 11.93482-68.343551 11.93482-113.121384 0-33.072233 6.193049-86.155219-1.969864-115.328655-27.533077-98.590436-97.100502-125.789914-178.610934-125.789914-81.575924 0-151.228283 27.327392-178.709171 126.086673-8.097422 29.083385-1.888 82.044598-1.888 115.037013 0 44.875047-2.422166 76.431763 12.018731 113.38335 25.044396 63.984267 48.853661 117.643374 80.654948 151.860686-123.82619 22.88829-207.497844 87.821161-263.949554 113.136733C58.522881 756.944711 57.948807 814.295907 57.948807 814.295907l0 97.419773 940.724365-0.11154L998.673172 814.295907C998.673172 814.295907 998.125703 756.748237 880.864022 704.34575L880.864022 704.34575z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-ren-copy" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M880.864022 704.34575c-56.812937-25.396413-141.118018-90.817402-265.945001-113.297392 31.924083-34.359552 56.084343-88.097454 80.93738-151.754263 14.403035-36.893258 11.93482-68.343551 11.93482-113.121384 0-33.072233 6.193049-86.155219-1.969864-115.328655-27.533077-98.590436-97.100502-125.789914-178.610934-125.789914-81.575924 0-151.228283 27.327392-178.709171 126.086673-8.097422 29.083385-1.888 82.044598-1.888 115.037013 0 44.875047-2.422166 76.431763 12.018731 113.38335 25.044396 63.984267 48.853661 117.643374 80.654948 151.860686-123.82619 22.88829-207.497844 87.821161-263.949554 113.136733C58.522881 756.944711 57.948807 814.295907 57.948807 814.295907l0 97.419773 940.724365-0.11154L998.673172 814.295907C998.673172 814.295907 998.125703 756.748237 880.864022 704.34575L880.864022 704.34575z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-phone" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M702.627 104.373h-380.718c-14.957 0-27.194 12.237-27.194 27.194v761.437c0 14.957 12.237 27.194 27.194 27.194h380.718c14.957 0 27.194-12.237 27.194-27.194v-761.436c0.001-14.957-12.236-27.195-27.194-27.195zM430.686 153.027c0-4.487 3.671-8.158 8.158-8.158h146.849c4.487 0 8.158 3.671 8.158 8.158v0c0 4.487-3.671 8.158-8.158 8.158h-146.849c-4.487 0-8.158-3.67-8.158-8.158v0zM512 893.397c-17.632 0-31.926-14.293-31.926-31.926s14.293-31.926 31.926-31.926 31.926 14.293 31.926 31.926c0 17.632-14.293 31.926-31.926 31.926zM689.030 801.441h-353.524v-614.286h353.524v614.286z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-qiyedengji-copy" viewBox="0 0 1314 1024">' +
    '' +
    '<path d="M623.084 64.142c246.959 0 447.889 200.902 447.889 447.86 0 246.924-200.931 447.855-447.889 447.855-246.922 0-447.825-200.931-447.825-447.855 0-246.956 200.902-447.86 447.825-447.86M623.084 0c-282.717 0-511.968 229.251-511.968 512.002 0 282.747 229.189 511.998 511.968 511.998 282.781 0 512.033-229.251 512.033-511.998-0.001-282.751-229.253-512.002-512.033-512.002v0 0zM623.084 0z"  ></path>' +
    '' +
    '<path d="M365.192 344.657h404.372c11.503 0 20.915-9.489 20.915-21.090s-9.412-21.093-20.915-21.093h-404.372c-11.506 0-20.917 9.493-20.917 21.093-0.001 11.601 9.411 21.090 20.917 21.090v0zM365.192 471.214h334.652c11.503 0 20.916-9.491 20.916-21.093s-9.414-21.094-20.916-21.094h-334.652c-11.506 0-20.917 9.493-20.917 21.094-0.001 11.601 9.411 21.093 20.917 21.093v0zM630.124 555.581h-264.932c-11.506 0-20.917 9.493-20.917 21.094 0 11.599 9.412 21.090 20.917 21.090h264.933c11.503 0 20.917-9.491 20.917-21.090 0-11.601-9.415-21.094-20.918-21.094v0zM574.348 682.138h-209.157c-11.506 0-20.917 9.489-20.917 21.090s9.412 21.094 20.917 21.094h209.157c11.503 0 20.915-9.493 20.915-21.094s-9.411-21.090-20.915-21.090v0zM884.817 348.426c-16.601-9.831-37.963-4.228-47.712 12.513l-10.591 18.188 60.123 35.601 10.588-18.188c9.751-16.741 4.194-38.285-12.407-48.115v0zM692.364 609.514l60.119 35.601 127.090-218.262-60.122-35.601-127.087 218.262zM665.936 724.321l79.484-67.081-60.119-35.6-19.365 102.681zM665.936 724.321z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-wodezhangdan" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M788.9152 167.04l-83.072 0L705.8432 110.82752 631.296 110.82752c-24.0384-33.44896-68.1216-56.21248-119.296-56.21248s-95.2576 22.76352-119.296 56.21248l-74.5472 0 0 56.21248L235.0848 167.04c-61.14304 0-110.76608 50.36544-110.76608 112.42496l0 562.13504c0 62.05952 49.62304 112.42496 110.76608 112.42496l553.82528 0c61.14304 0 110.76608-50.36544 110.76608-112.42496L899.67616 279.46496C899.67616 217.40544 850.05312 167.04 788.9152 167.04zM373.54496 167.04l61.58336 0c0-31.0272 34.39616-56.21248 76.87168-56.21248 42.48064 0 76.87168 25.18528 76.87168 56.21248l61.58336 0 0 112.42496L373.54496 279.46496 373.54496 167.04zM844.29312 841.6c0 31.0272-24.81152 56.21248-55.38304 56.21248L235.0848 897.81248c-30.57152 0-55.38304-25.18528-55.38304-56.21248L179.70176 279.46496c0-31.0272 24.81152-56.21248 55.38304-56.21248l83.072 0 0 112.42496 387.67616 0L705.83296 223.25248l83.072 0c30.57152 0 55.38304 25.18528 55.38304 56.21248L844.288 841.6z"  ></path>' +
    '' +
    '<path d="M705.83808 448.10752 318.16192 448.10752c-15.2832 0-27.68896 12.59008-27.68896 28.1088 0 15.56992 12.40576 28.1088 27.68896 28.1088l387.67616 0c15.2832 0 27.69408-12.53888 27.69408-28.1088C733.53216 460.6976 721.1264 448.10752 705.83808 448.10752z"  ></path>' +
    '' +
    '<path d="M705.83808 729.17504 318.16192 729.17504c-15.2832 0-27.68896 12.59008-27.68896 28.1088 0 15.57504 12.40576 28.1088 27.68896 28.1088l387.67616 0c15.2832 0 27.69408-12.53376 27.69408-28.1088C733.53216 741.76512 721.1264 729.17504 705.83808 729.17504z"  ></path>' +
    '' +
    '<path d="M705.83808 588.64128 318.16192 588.64128c-15.2832 0-27.68896 12.59008-27.68896 28.1088 0 15.57504 12.40576 28.1088 27.68896 28.1088l387.67616 0c15.2832 0 27.69408-12.53376 27.69408-28.1088C733.53216 601.23136 721.1264 588.64128 705.83808 588.64128z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-zuanshi" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M880.64 366.72l-160-184.32c-12.16-14.08-30.08-22.4-48.64-22.4L352 160c-18.56 0-35.84 7.68-48 21.76l-160 183.04c-20.48 23.68-21.12 58.24-1.28 82.56l320 392.96c12.16 14.72 30.08 23.68 49.28 23.68 0 0 0 0 0 0 19.2 0 37.12-8.32 49.28-23.68l320-391.68C901.12 424.96 900.48 390.4 880.64 366.72zM801.28 373.12 585.6 373.12l109.44-113.92c1.28-1.28 2.56-3.2 3.84-4.48L801.28 373.12zM512 357.12 383.36 224l256.64 0L512 357.12zM325.12 254.72c1.28 1.92 2.56 3.2 3.84 5.12l109.44 113.92L221.44 373.76 325.12 254.72zM216.32 437.12 480 437.12l0 323.2L216.32 437.12zM544 760.96 544 437.12l264.32 0L544 760.96z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-quanchengbofangwuguanggaozengsongshiwulipin" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M512 64.009849c-247.298316 0-447.774233 200.38996-447.774233 447.581852s200.475917 447.581852 447.774233 447.581852 447.774233-200.38996 447.774233-447.581852S759.298316 64.009849 512 64.009849zM512 928.306544c-230.242871 0-416.892899-186.571233-416.892899-416.714843s186.651051-416.714843 416.892899-416.714843 416.892899 186.571233 416.892899 416.714843S742.242871 928.306544 512 928.306544z"  ></path>' +
    '' +
    '<path d="M344.075453 668.059312c0 19.868513 16.10684 35.975353 35.975353 35.975353l119.918183 0L499.968989 524.156878l-155.894559 0L344.07443 668.059312zM523.95324 704.034664l119.918183 0c19.868513 0 35.975353-16.107863 35.975353-35.975353L679.846776 524.156878l-155.894559 0L523.952216 704.034664zM679.847799 440.214047l-143.902434 0-11.992125 0-179.877787 0c-13.246699 0-23.984251 10.737552-23.984251 23.983227l0 11.992125c0 13.246699 10.737552 23.984251 23.984251 23.984251l179.877787 0 11.992125 0 143.902434 0c13.246699 0 23.984251-10.737552 23.984251-23.984251l0-11.992125C703.831027 450.951599 693.093475 440.214047 679.847799 440.214047z"  ></path>' +
    '' +
    '<path d="M344.075453 668.059312c0 19.868513 16.10684 35.975353 35.975353 35.975353l119.918183 0L499.968989 524.156878l-155.894559 0L344.07443 668.059312zM523.95324 704.034664l119.918183 0c19.868513 0 35.975353-16.107863 35.975353-35.975353L679.846776 524.156878l-155.894559 0L523.952216 704.034664zM679.847799 440.214047l-143.902434 0-11.992125 0-179.877787 0c-13.246699 0-23.984251 10.737552-23.984251 23.983227l0 11.992125c0 13.246699 10.737552 23.984251 23.984251 23.984251l179.877787 0 11.992125 0 143.902434 0c13.246699 0 23.984251-10.737552 23.984251-23.984251l0-11.992125C703.831027 450.951599 693.093475 440.214047 679.847799 440.214047z"  ></path>' +
    '' +
    '<path d="M484.172211 410.522818c-10.552334-36.876885-33.075303-59.361993-52.090379-72.4071-8.30106-9.782807-20.838607-16.016789-34.869159-16.016789-24.997324 0-45.261856 19.781532-45.261856 44.185338 0 24.403806 20.264533 44.185338 45.261856 44.185338 1.124614 0 2.235924-0.054235 3.340071-0.132006l0 0.185218L484.172211 410.522818z"  ></path>' +
    '' +
    '<path d="M625.422236 322.098929c-14.029528 0-26.567076 6.232958-34.869159 16.015765-19.015076 13.045107-41.538045 35.530215-52.090379 72.4071l83.619466 0 0-0.185218c1.104147 0.078795 2.215458 0.132006 3.340071 0.132006 24.996301 0 45.260833-19.781532 45.260833-44.185338C670.683069 341.880461 650.418536 322.098929 625.422236 322.098929z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-gerenzhongxin" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M510.960972 6.321768C230.841621 6.321768 5.191526 231.971862 5.191526 512.091214c0 280.117545 225.650094 505.768543 505.769446 505.768543 280.119352 0 505.76764-225.650094 505.76764-505.768543C1020.619209 231.971862 791.079421 6.321768 510.960972 6.321768z m0 953.179941c-245.103078 0-447.411398-198.415917-447.411398-447.410495 3.890597-245.103981 202.30832-443.521705 447.411398-443.521705 245.103981 0 447.410495 198.417724 447.410495 443.521705 0 248.994578-198.417724 447.410495-447.410495 447.410495z"  ></path>' +
    '' +
    '<path d="M505.217194 617.556369c76.29471 0 161.562719-85.269815 161.562719-192.977391 0-143.613413-71.806255-197.466749-161.562719-197.466749S343.655379 271.991364 343.655379 420.090523c4.484843 112.196031 85.268008 197.465846 161.561815 197.465846zM648.828801 617.556369s-44.878232 67.316896-121.172039 71.806254h-35.902224c-76.293807-4.489358-121.172039-71.806255-121.172039-71.806254-85.270718 17.951112-107.709382 71.806255-107.709382 71.806254-49.36759 80.77865 17.951112 107.706673 17.951112 107.706673H743.076429s62.826635-26.92712 17.948403-107.706673c-8.976008 0-31.411963-53.855143-112.196031-71.806254z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-lock-fill-copy" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M768.562 458.029h-56.621v-131.684c0-110.284-89.634-199.964-199.913-199.964-110.284 0-200.017 89.682-200.017 199.964v131.684h-56.573c-27.278 0-49.387 22.105-49.387 49.387v360.541c0 27.33 22.109 49.438 49.387 49.438h513.176c27.283 0 49.339-22.109 49.339-49.438v-360.541c-0.005-27.283-22.104-49.387-49.392-49.387zM539.76 697.082v78.729c0 3.517-2.91 6.483-6.482 6.483h-42.454c-3.616 0-6.531-2.966-6.531-6.483v-78.729c-19.945-10.2-33.759-30.648-33.759-54.615 0-33.911 27.532-61.494 61.447-61.494 33.962 0 61.497 27.583 61.497 61.494 0.047 23.968-13.768 44.416-33.716 54.615zM635.221 458.029h-246.39v-128.422c0-67.928 55.314-123.245 123.244-123.245s123.145 55.315 123.145 123.245v128.422z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-asmkticon0131" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M886.4 385.28l-172.16-199.04c-7.04-8.32-17.92-13.44-28.8-13.44L339.84 172.8c-10.88 0-21.76 4.48-28.8 12.8l-172.8 197.12c-12.16 14.08-12.8 35.2-0.64 49.28l344.96 423.68c7.04 8.96 17.92 14.08 29.44 14.08 0 0 0 0 0 0 11.52 0 22.4-5.12 29.44-14.08l344.96-422.4C898.56 419.84 898.56 399.36 886.4 385.28zM372.48 387.2l139.52-160 138.24 160L372.48 387.2zM644.48 425.6 512 778.24 379.52 425.6 644.48 425.6zM338.56 425.6 473.6 785.28 181.12 425.6 338.56 425.6zM685.44 425.6l158.72 0L550.4 785.28 685.44 425.6zM837.12 387.2l-136.32 0c-0.64-0.64-1.28-1.92-1.92-2.56L548.48 211.2 684.8 211.2 837.12 387.2zM339.84 211.2l135.68 0L325.12 383.36c-1.28 1.28-1.92 2.56-2.56 3.84L185.6 387.2 339.84 211.2z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-anquan" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M856.139 179.897a28.777 28.777 0 0 0-36.876-21.728c-67.014 21.163-139.715 8.946-216.082-36.31-59.11-35.031-98.103-77.59-98.782-78.335-6.595-7.301-16.084-10.432-25.155-9.233-9.01-1.136-18.413 1.99-24.972 9.227-0.387 0.428-39.451 43.178-98.786 78.341-76.366 45.255-149.067 57.472-216.082 36.31a28.78 28.78 0 0 0-36.875 21.728C101.434 185.3 76.07 314 107.136 468.769 125.52 560.364 159.96 642.02 209.5 711.47c62.043 86.98 147.732 154.566 254.687 200.879 3.727 1.613 12.821 3.817 14.074 3.817 5.276 0 12.494-2.204 16.219-3.817C601.436 866.036 687.126 798.45 749.167 711.47c49.54-69.451 83.98-151.107 102.364-242.701C882.597 314 857.234 185.3 856.14 179.897z m-59.491 278.156c-38.008 186.632-144.1 320.088-315.382 396.796-171.28-76.708-277.372-210.164-315.382-396.796-20.701-101.643-14.743-192.978-9.397-238.159 36.557 6.765 74.44 5.999 113.034-2.322 39.236-8.461 79.174-24.724 118.703-48.336 41.975-25.073 74.408-52.992 93.04-70.638 18.633 17.647 51.067 45.564 93.04 70.638 39.529 23.613 79.467 39.876 118.703 48.336 38.594 8.321 76.477 9.088 113.033 2.321 5.348 45.195 11.303 136.525-9.396 238.16z" fill="" ></path>' +
    '' +
    '<path d="M452.227 603.987c-7.372 0-14.737-2.813-20.352-8.43l-99.724-99.724c-11.239-11.24-11.239-29.463 0-40.702s29.463-11.24 40.702 0l79.673 79.672L616.818 375.3c11.407-11.072 29.626-10.802 40.698 0.603s10.804 29.625-0.602 40.697L472.273 595.857a28.69 28.69 0 0 1-20.047 8.132z" fill="" ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-ren1" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M880.864 704.346c-56.813-25.397-141.118-90.818-265.945-113.298 31.924-34.36 56.084-88.097 80.937-151.754 14.403-36.893 11.935-68.343 11.935-113.121 0-33.073 6.193-86.156-1.97-115.329-27.533-98.59-97.1-125.79-178.61-125.79-81.577 0-151.229 27.328-178.71 126.087-8.097 29.083-1.888 82.044-1.888 115.037 0 44.875-2.422 76.432 12.019 113.383 25.044 63.984 48.854 117.644 80.655 151.86-123.826 22.89-207.498 87.822-263.95 113.138C58.523 756.945 57.95 814.296 57.95 814.296v97.42l940.724-0.112v-97.308s-0.547-57.548-117.809-109.95z"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '<symbol id="icon-ren2" viewBox="0 0 1024 1024">' +
    '' +
    '<path d="M852.412 735.493l-180.797-70.459s-34.481-13.386-47.875-26.55c-8.609-8.463-7.987-28.427-0.368-53.928 7.618-25.502 100.303-129.139 100.303-223.281C723.675 215.883 628.09 98 510.191 98 392.3 98 296.724 215.883 296.724 361.283c0 90.169 82.592 197.664 92.783 217.202 10.199 19.538 7.716 49.316-0.336 58.336-12.092 13.549-56.271 27.132-56.271 27.132l-162.988 72.638C131.835 750.272 102 786.185 102 826.703v53.234c0 44.22 35.914 37.263 80.052 37.263h658.219c44.147 0 80.061 6.958 80.061-37.263v-53.234c0-40.526-29.835-77.537-67.92-91.21m0 0"  ></path>' +
    '' +
    '</symbol>' +
    '' +
    '</svg>'
  var script = function() {
    var scripts = document.getElementsByTagName('script')
    return scripts[scripts.length - 1]
  }()
  var shouldInjectCss = script.getAttribute("data-injectcss")

  /**
   * document ready
   */
  var ready = function(fn) {
    if (document.addEventListener) {
      if (~["complete", "loaded", "interactive"].indexOf(document.readyState)) {
        setTimeout(fn, 0)
      } else {
        var loadFn = function() {
          document.removeEventListener("DOMContentLoaded", loadFn, false)
          fn()
        }
        document.addEventListener("DOMContentLoaded", loadFn, false)
      }
    } else if (document.attachEvent) {
      IEContentLoaded(window, fn)
    }

    function IEContentLoaded(w, fn) {
      var d = w.document,
        done = false,
        // only fire once
        init = function() {
          if (!done) {
            done = true
            fn()
          }
        }
        // polling for no errors
      var polling = function() {
        try {
          // throws errors until after ondocumentready
          d.documentElement.doScroll('left')
        } catch (e) {
          setTimeout(polling, 50)
          return
        }
        // no errors, fire

        init()
      };

      polling()
        // trying to always fire before onload
      d.onreadystatechange = function() {
        if (d.readyState == 'complete') {
          d.onreadystatechange = null
          init()
        }
      }
    }
  }

  /**
   * Insert el before target
   *
   * @param {Element} el
   * @param {Element} target
   */

  var before = function(el, target) {
    target.parentNode.insertBefore(el, target)
  }

  /**
   * Prepend el to target
   *
   * @param {Element} el
   * @param {Element} target
   */

  var prepend = function(el, target) {
    if (target.firstChild) {
      before(el, target.firstChild)
    } else {
      target.appendChild(el)
    }
  }

  function appendSvg() {
    var div, svg

    div = document.createElement('div')
    div.innerHTML = svgSprite
    svgSprite = null
    svg = div.getElementsByTagName('svg')[0]
    if (svg) {
      svg.setAttribute('aria-hidden', 'true')
      svg.style.position = 'absolute'
      svg.style.width = 0
      svg.style.height = 0
      svg.style.overflow = 'hidden'
      prepend(svg, document.body)
    }
  }

  if (shouldInjectCss && !window.__iconfont__svg__cssinject__) {
    window.__iconfont__svg__cssinject__ = true
    try {
      document.write("<style>.svgfont {display: inline-block;width: 1em;height: 1em;fill: currentColor;vertical-align: -0.1em;font-size:16px;}</style>");
    } catch (e) {
      console && console.log(e)
    }
  }

  ready(appendSvg)


})(window)